namespace SimpleWebServices.Models
{
    using System.Diagnostics.CodeAnalysis;
    using System.Xml.Serialization;

    [XmlRoot("favicon")]
    public sealed class Favicon
    {
        [XmlAttribute("href")]
        public string Href
        {
            get;
            set;
        }

        [XmlAttribute("rel")]
        public string Relationship
        {
            get;
            set;
        }

        [SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Justification = "The naming is intentionally the same as HTML.")]
        [XmlAttribute("type")]
        public string Type
        {
            get;
            set;
        }
    }
}